package com.zhongli.devplatform.po.sys;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
@ApiModel(value="com-zhongli-devplatform-po-ReadChapterExercisesTopic")
@Data
@TableName(value = "read_chapter_exercises_topic")
public class ReadChapterExercisesTopicPO {
    /**
     * 章节练习id
     */
    @TableField(value = "chapter_exercises_id")
    @ApiModelProperty(value="章节练习id")
    private Integer chapterExercisesId;

    /**
     * 题目id
     */
    @TableField(value = "topic_id")
    @ApiModelProperty(value="题目id")
    private Integer topicId;

    /**
     * 答题是否正确
     */
    @TableField(value = "status",updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value="答题是否正确")
    private Boolean status;

    /**
     * 提交的答案
     */
    @TableField(value = "commit_answer",updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value="提交的答案")
    private String commitAnswer;

    /**
     * 正确答案
     */
    @TableField(value = "correct_answer")
    @ApiModelProperty(value="正确答案")
    private String correctAnswer;
}
